package com.zhouk.ams.service;

import com.zhouk.ams.domain.User;
import com.zhouk.ams.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create By Zhouke on 2017/11/09
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;
    public User getUserInfo(String username){
       return userMapper.findUserByName(username);
    }
}
